package com.hbusa.service;

import com.hbusa.dto.TbCategory;

import java.sql.SQLException;
import java.util.ArrayList;

public interface CategoryService {
     boolean doInsert(TbCategory category);

     boolean doDelete(long cat_id) throws SQLException;

     boolean doModify(long cat_id, TbCategory category);

     ArrayList<TbCategory> doFindAll();

     TbCategory doFindById(long cat_id);
}
